package cn.tedu.smartos.family_user.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;

@Data
public class ElderlyInfo {
    @ApiModelProperty(value = "老人ID")
    private Long elderlyId;
    @ApiModelProperty(value = "关联的用户ID")
    private Long userId;
    @ApiModelProperty(value = "身高（cm）")
    private Double height;
    @ApiModelProperty(value = "体重（kg）")
    private Double weight;
    @ApiModelProperty(value = "血型")
    private String bloodType;
    @ApiModelProperty(value = "病史记录")
    private String medicalHistory;
    @ApiModelProperty(value = "过敏史")
    private String allergyHistory;
    @ApiModelProperty(value = "用药情况")
    private String medicationCondition;
    @ApiModelProperty(value = "紧急联系人姓名")
    private String emergencyContactName;
    @ApiModelProperty(value = "紧急联系人电话")
    private String emergencyContactPhone;
    @ApiModelProperty(value = "紧急联系人关系")
    private String emergencyContactRelation;
    @ApiModelProperty(value = "居住状况描述")
    private String livingCondition;
    @ApiModelProperty(value = "日常习惯")
    private String dailyHabits;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;

}

